<template>
    <div class="stat-three-col clearfix">
        <div class="col col-4">
            <div class="number">{{value1}}</div>
            <div class="tips">{{text1}}</div>
        </div>
        <div class="col col-4">
            <div class="number">{{value2}}</div>
            <div class="tips">{{text2}}</div>
        </div>
        <div class="col col-4">
            <div class="number">{{value3}}</div>
            <div class="tips">{{text3}}</div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'StatThreeCol',
    props: {
        value1: { type: [ String, Number ] },
        text1: { type: [ String, Number ] },
        value2: { type: [ String, Number ] },
        text2: { type: [ String, Number ] },
        value3: { type: [ String, Number ] },
        text3: { type: [ String, Number ] },
    },
};
</script>

<style lang="less">
@import "../../lib/style/mixins.less";

.stat-three-col {
    padding: 24rpx 0rpx;
    margin: 10px 0;
    box-sizing: border-box;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 10rpx;
    .number {
        padding: 0;
        line-height: 42px;
        font-size: 36px;
        color: @color-red;
        font-weight: bold;
    }
    .tips {
        color: #101010;
    }
}
</style>